package global

import (
	ut "github.com/go-playground/universal-translator"
	"user_api/config"
	proto "user_api/proto"

	"github.com/micro/go-micro/v2/registry"
	"github.com/micro/go-plugins/registry/consul/v2"
)

var (
	Trans ut.Translator
	//consul链接
	ServerConfig *config.ServerConfig = &config.ServerConfig{}

	ConsulClient  = consul.NewRegistry(registry.Addrs("127.0.0.1:8500"))
	UserSrvClient proto.UserSrvService
)
